package com.fqcar.fqdf;

/**
 * Created by lvsidong on 17/10/11.
 */
public class RemoteAPI {
    private RemoteAPI() {
        super();
    }

    /**
     * HOST
     */
//    private static String HOST = BuildConfig.DEBUG ? "http://difu.fanqiecar.com/" : "http://difu.fanqiecar.com/";
    private static String HOST = BuildConfig.DEBUG ? "http://testdf.fanqiecar.com/" : "http://difu.fanqiecar.com/";


    /**
     * 上传图片 -- HOST
     */
//    public static String UPLOAD_IMG = BuildConfig.DEBUG ? "https://testimg.shouqiev.com/" : "https://img.shouqiev.com/";


    //    V1.0    ############ start #############

    /**
     * 系统参数
     */
    public static String SETTING = HOST + "app/setting.json";

    /**
     * 软件更新
     */
    public static String SYS_APP_UPDATE = HOST + "app/init";

    /**
     * 登录
     */
    public static String LOGIN = HOST + "app/login";

    /**
     * 验证token
     */
    public static String TOKEN_VALIDATE = HOST + "user/tokenValidate";

    /**
     * 首页获取车辆列表
     */
    public static String MAIN_GET_CAR_LIST = HOST + "car/getCarList";

    /**
     * 可用站点区域
     */
    public static String CAR_GET_USEABLE_STATION = HOST + "car/getUseableStation";

    /**
     * 首页列表模式（车辆列表）
     */
    public static String MAIN_GET_CAR_DETAIL_LIST = HOST + "car/getCarDetailList";

    /**
     * 待办列表
     */
    public static String TO_DO_CAR_LIST = HOST + "deal/getWaitDealList";

    /**
     * 车辆历史处理
     */
    public static String GET_DEAL_HISTORY = HOST + "deal/getDealHistory";

    /**
     * 获取车辆详情
     */
    public static String CAR_DETAIL = HOST + "car/getCarDetail";

    /**
     * 获取城市列表
     */
    public static String GET_CITY_LIST = HOST + "car/getCityList";

    /**
     * 上传反馈车况图片
     */
//    public static String FEEDBACK_IMG = UPLOAD_IMG + "orderUpload";

    /**
     * 上报问题（备注以及照片）
     */
//    public static String REPORT_PROBLEM = HOST + "order/saveCancelInfo";

    /**
     * 开始处理选择原因界面
     */
    public static String GET_START_DEAL_PAGE = HOST + "deal/getStartDealPage";
    /**
     * 开始处理
     */
    public static String START_DEAL = HOST + "deal/startDeal";
    /**
     * 车辆控制
     */
    public static String CAR_CONTROL = HOST + "car/control";

    /**
     * 获取未完成处理的订单
     */
    public static String GET_UNFINISH_DEAL = HOST + "deal/getUnFinishDeal";

    /**
     * 获取处理详情界面
     */
    public static String GET_DEAL_DETAIL_PAGE = HOST + "deal/getDealDetailPage";

    /**
     * 结束处理选择原因页面
     */
    public static String GET_END_DEAL_PAGE = HOST + "deal/getEndDealPage";

    /**
     * 手动下线
     */
    public static String OFF_LINE = HOST + "car/offline";

    /**
     * 结束车辆不上线(传原因)
     */
    public static String END_DEAL = HOST + "deal/endDeal";

    /**
     * 结束车辆上线
     */
    public static String END_DEAL_AND_ONLINE = HOST + "deal/endDealAndOnline";

    /**
     * 搜索车辆
     */
    public static String SEARCH_CAR = HOST + "car/searchCar";

    /**
     * 上报小问题
     */
    public static String REPORT_PROBLEM = HOST + "deal/reportProblem";

    /**
     * 充电
     */
    public static String CONFIRM_CHARGE = HOST + "deal/confirmCharge";

    //    V1.0   ############# end ##############

    //    V1.1    ############ start #############

    /**
     * 充电地图界面列表
     */
    public static String GET_CHARGE_LIST = HOST + "charge/getChargeList";

    /**
     * 充电桩详情
     */
    public static String GET_CHARGE_DETAIL = HOST + "charge/getChargeDetail";

    /**
     * 手动更改车辆位置
     */
    public static String UPDATE_CAR_POSITION = HOST + "car/updatePosition";

    //    V1.1   ############# end ##############
}
